package com.zhaiweijia.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.zhaiweijia.dao.NewsDao;
import com.zhaiweijia.entity.News;
import com.zhaiweijia.service.NewsService;
@Service
public class NewsServiceImpl implements NewsService{
	@Autowired
	NewsDao dao;

	@Override
	public void add(News newss) {
		dao.add(newss);
		
	}
	
	
}
